<?php $this->load->view('common/header'); ?>
<?php $this->load->view('common/menu'); ?>

<div class="swiper-container banner_main">
    <div class="swiper-wrapper">
        <?php if (!$this->agent->is_mobile()) { ?>
            <?php if ($banner['pc']) : ?>
                <?php foreach ($banner['pc'] as $key => $val) : ?>
                    <div class="swiper-slide"><img src="<?php echo $val['pic_url']; ?>"></div>
                <?php endforeach; ?>
            <?php endif; ?>

        <?php } else { ?>

            <?php if ($banner['mobile']) : ?>
                <?php foreach ($banner['mobile'] as $key => $val) : ?>
                    <div class="swiper-slide"><img src="<?php echo $val['pic_url']; ?>"></div>
                <?php endforeach; ?>
            <?php endif; ?>
        <?php } ?>
    </div>
    <div class="swiper-button-prev"></div>
    <div class="swiper-button-next"></div>
</div>
<div id="wrap">
    <img src="<?php echo image_url('p_banner.jpg'); ?>">
</div>
<div class="title_bar">
    <p>PRODUCT</p>
    <span>
    	<em class="left"></em>
    	<em class="right"></em>
    	质量保证 · 产品展示
    </span>
</div>
<div class="hot_product">
    <div class="list">
        <ul>
            <?php if ($hot) : ?>
                <?php foreach ($hot as $key => $val) : ?>
                    <li class="swiper-slide">
                        <a href="/product_show/<?php echo $val['id']; ?>.html">
                            <img src="<?php echo $val['product_img']; ?>">
                            <span>
                                <em><?php echo $val['title']; ?></em>
                            </span>
                        </a>
                    </li>
                <?php endforeach; ?>
            <?php endif; ?>

            <div class="clear"></div>
        </ul>
    </div>
</div>
<div class="about_bar">
    <div class="title_bar">
        <p>ABOUT</p>
        <span>
            <em class="left"></em>
            <em class="right"></em>
            服务至上 · 关于华晟
        </span>
    </div>
    <div class="box">
        <div class="content">
            <div class="c_img f_l"><img src="<?php echo image_url('about.jpg'); ?>"></div>
            <div class="c_con f_r">
                <b>广东华晟包装科技股份公司</b>
                <p>
                    是一家综合性包装供应链方案解决平台，旗下华晟销售合伙人公司致力于包装销售的招募，培训，产品创新研发以及客户开发和维护等市场前端环节服务，华晟生产合伙联盟公司致力于行业各类包装的生产代工、品质管理、产品配送等后勤服务。
                    华晟销售合伙人平台在册合伙人数24人，年销售额1亿2千万，下一阶段将与各大高校展开合作，把销售的招募，培训工作规模化正规化高学历化，把合伙平台建设成专业的销售经纪管理公司。
                </p>
            </div>
        </div>
        <div class="list">
            <ul>
                <li>
                    <a href="/about.html">
                        <span><i class="ico ico_a"></i></span>
                        <p>华晟简介</p>
                    </a>
                </li>
                <li>
                    <a href="/culture.html">
                        <span><i class="ico ico_b"></i></span>
                        <p>服务手册</p>
                    </a>
                </li>
                <li>
                    <a href="/honor.html">
                        <span><i class="ico ico_c"></i></span>
                        <p>四大服务</p>
                    </a>
                </li>
                <li>
                    <a href="/join_label.html">
                        <span><i class="ico ico_d"></i></span>
                        <p>合作共赢</p>
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>
<div class="news_bar">
    <div class="title_bar">
        <p>NEWS</p>
        <span>
            <em class="left"></em>
            <em class="right"></em>
            活力勃发 · 华晟资讯
        </span>
    </div>
    <div class="list">
        <ul>
            <?php if ($news) : ?>
                <?php foreach ($news as $key => $val) : ?>
                    <li>
                        <a href="<?php echo "/news_show/" . $val['id'] . ".html"; ?>">
                            <img height="320px" src="<?php echo $val['img'] ?? ""; ?>">
                            <span>
                                <b><?php echo $val['title']; ?></b>
                                <p><?php echo $val['describe'] ?? ""; ?></p>
                            </span>
                        </a>
                    </li>
                <?php endforeach; ?>
            <?php endif; ?>
        </ul>
    </div>
</div>
<?php $this->load->view('common/footer'); ?>
